Transition To Detonation From A Shock-Flame Complex